package cn.hhchat.wp.exception;


import cn.hhchat.wp.dto.msg.ResultEnum;

/**
 * Created this one by hh23485 on 2017/6/28.
 */
public class InValidCodeException extends BaseException {

    public InValidCodeException() {
        this(ResultEnum.InValidCode);
    }

    public InValidCodeException(String errmsg){
        this(ResultEnum.InValidCode, errmsg);
    }

    public InValidCodeException(int errcode, String errmsg) {
        super(errcode, errmsg);
    }

    public InValidCodeException(ResultEnum resultEnum, String errmsg) {
        super(resultEnum, errmsg);
    }

    public InValidCodeException(ResultEnum resultEnum) {
        super(resultEnum);
    }

    public InValidCodeException(Throwable cause, int errcode, String errmsg) {
        super(cause, errcode, errmsg);
    }

    public InValidCodeException(Throwable cause, ResultEnum resultEnum) {
        super(cause, resultEnum);
    }
}
